<?php

$stepNum = mt_rand(0, 3);

if ($stepNum == 1) {
    $arr = array(

        'status' => 1,
        'msg' => '发送成功',
        'redict' => '',
    );

} else {
    $arr = array(

        'status' => 0,
        'msg' => '发送失败',
        'redict' => '',
    );

}
$arr = array(

    'status' => 1,
    'msg' => '发送成功',
    'redict' => '',
);

echo json_encode($arr);
?>